/**
 * Sample React Native App
 * https://github.com/facebook/react-native
 * @flow
 */

import React, { Component } from 'react';
import {
  AppRegistry,
  StyleSheet,
  Text,
  View,
  TextInput,
  Modal,
  Dimensions,
  Navigator,
} from 'react-native';
import {
    Container, Header, Content, Button, Icon, Title, Spinner,
} from 'native-base';
import SimpleConfig from './SimpleConfig';

import MainScreen from './MainScreen';

export default class ColorLights extends Component {

  render() {
    return (
        <Navigator
          initialRoute={{ title: 'Lights', component: MainScreen }}
          renderScene={(route, navigator) =>
            <route.component route={route} navigator={navigator}/>
          }
        />
    );
  }
}

AppRegistry.registerComponent('ColorLights', () => ColorLights);
